Housekeeping using categories and constants.