Getting rid of redundant parameters