Added the utility method.