Removed unnecessary public variables.