Checking methods in Properties

This is a small update introducing better checking of attribute types.