Moved binary methods from Utils to Binary