Fix the random deletion I must have made somewhere..

Three functions were deleted for some reason, hopefully this will fix it.