[refactoring] Add not refactored dynamic method definition.