Added more utility methods.