Separate classes, remove casting, add alias instead.
Merge pull request #207 from xoppa/new3dapi

Separate classes, remove casting, add alias instead.