Remove method name from get/set restricted