Entity: strict value type check in magic setters