Documented remaining helper functions.