Refactoring some magic constants.