Weren't you proposing to make this into a Utils method?  No problem with the current code - I just thought you said this was going to change.