Removed an uneccessary function.