Refactoring common operations into module

True, but the derived table also looks like it is giving an error.

Feature suggestion: have some way of mocking up the Input schema with a dummy so that the steps further down don’t show errors. Right now, I can do this manually with a PASTE to INPUT, but it disappears each time the project is reloaded.