Fix for MAGN-69.

Change name of the function to one we actually have in samples folder