Fixes missing check for Required parameters. Fixes problems when giving parameters a different name than their Java field name