Model properties bug fixed

Fixed bug where model properties were stored in the parent class,
they're now stored as part of the local instance (e.g. $this).