Public functions documented.