Adjust to modern coding standards
QA: Apidocs
Initial support for traits in class loading