Removed useless req and res arguments