Added a property system and a couple of useful properties.