Framework for utility functions