Added parameters count checking for method injections (See #208)