Added utilities for writing bytecode.