Removed an unnamed namespace and forgot to make two of the functions inside
"static".