Typechecked a few functions from flashblock.