Does this have to be an internal declaration? Maybe it would be better to separate this into it's own definition file.