Add a possibility to push a statement to a transaction

Targets #284