Utility functions updated.