For efficiency, preventing Doctrine from writing null values to database