If we want to make this more modular we could move this to an include... though that's probably overkill for this PR.