[fix] Blow up if either function is not defined.