Removed unnecessary setters.