Documented utility functions.