Fixing node API for properties
Moving nodetype related logic to abstract class