Document utility functions