Removed unneccassary code.