Modify selected method.