Moving common logic to abstract writer
Adding param table start