Add stub for Applymask