Extracts an internal class into its own file for the sake of readability.