Replace implicit params with reflection
tmp