Added example for define-method