[DOC] Finish example for aliasMethod

Was missing the usage part of the example.