Refactoring NTypeCompiler.
Add IDeclaration type check for simple declaration property types.
Minor refactoring.