Function documentation needed.