param resolution now works for all methods