Should we have some sort of validation in here to make sure it's actually an integer? I could see an argument for not bothering since it's pretty much an internal utility and at some point we have to assume the dev isn't a moron.