[refactoring] Add replace dynamic receptor with dynamic method definition.