Added method to extend entity objects

This method allows adding new properties to entities without having to
define new classes. Useful in cases where one or more entities require
additional properties but you don't want to write new code specifically
for them.