readded missing transaction params, fixes #27
fixed typeducking issues in document API