Implemented automatic resolution of parameters