Removed an unecessary function.