Slight code clean-up and organization.