Deleted unnecessary methods.