Addition of a few utility methods.