Put certain code in their own methods to keep things cleaner.