Generates getter and setter methods for a property if they don't exist.