Make debug a method of Master module.