Document some functions for clarity