Force to define methods in module/class