Allow for encoding of block without children

Want the ability to encode a block without it's children (i.e. if encoding "if (flower) { get nectar }" we want the ability to just get the encoding of the if (flower) while ignoring the get nectar"