Added functions to create bool/byte objects