Cleaning up code and instances as well as bindings to unused items