Some utility methods added.