Removed slot IMPORTS which is no longer needed.
Removed function that is no longer needed.
Removed another function that is no longer needed.
Add a final pass to add inputs to ENCLOSE-INSTRUCTIONs.