Make property compatable with declared type