Improved Utility Functions

I want to use this in some of my upcoming fixers.