Got rid of all unneeded inputs.