Removed unnessisary code.