Simplified type creation

Fixes #2.