Add class-local type definitions through using aliases (closes #2)