Moving bulk bits of code into stored Proc objects