Add a few utility methods.