Outlining cpp files with methods