Rename opts to klass_options