Add basic utility functions