Removed unneccesary functions.