Adding transation support to the BlockIO class, Default user id to
return an Integer. Added additional examples