[WIP] More binary conversions

This is a work in progress.