Break functions out to separate files.