Add methods parameter dependencies

This also takes care of "this" dependencies since if we have a this
dependency it is passed in as the first parameter.

See #27.