Fixed a bug where properties where not being copied to overriding types (only functions where).