Removes unnecessary getters and setters