in reply to Bad practice or duct-tape hack?
Hmmm... I was doing something pretty similar just this evening. Though my hard-coded values for those attributes will eventually be replaced by a config file of some sort.