Add a few basic binary functions