Created method to place custom code in so the constructor stays clean.