Fix spelling.
Coding standards.
Avoid possible undefined variable flagging.
Fix undefined variable error.
Remove unused variables.
Add missing parameter type hints.
Fix spelling.
Coding standards.
Remove surplus MetaBehavior::metadata() call.
Change usage of some deprecated methods and properties.
Merge pull request #56 from ndm2/cleanup

Cleanup