Added several new utility methods.