move decorator doc to the correct place