Consolidating code into a single NEOS file.