Fixed a problemt hat the PropertyInterface wasnt able to set/get properties (cast failed).