Remove last reference to headingFunc