remove extraneous commented-out code form schema functions