Corrected wrong calls to Yap functions, in external modules YAP prefix is the correct one.