Do not allow array or primitive types in Compound type declarations

Fixes #23