Fix required parameters for instance and fix tests.