Generating input parameters and output parameters. Changed type to IO() in fromCore. Make sure to fix this later.