Utility methods commonly used when developing helper libraries.