Cleaned up byte helpers