Added utility functions for basic enumeration.