Add documentation for binary functions