Removed unneccesary code.