refactor decorator wiki