Removed unnecessary function.