Make properties accessible with a getter.