Moved some task 15 functions into anonymous namespace.