A small PSR-compatible implementation of the Bit