Remove err and req functions with their usage. Don't check nb of params as shell settings guarantee that.