Inline docs for util functions