Updated userdefined command example with comment.

Changed method call.