All the code in this functions file should be in its own autoloadable class that uses the container.