Removing unneeded injected parameter.