- Moved more legacy checking code to legacy.cpp.
- Created legacy checking function to determine whether deprecated or obsolete attributes are being used.
- Created a home for all the legacy checks.