Major (breaking) refactor.
Composite class support added.