Adds type and required to params table