Improved Utility Functions

I want to use this in some of my upcoming fixers.
@keradus There are two cases here already, included in this pull.