Added primitive bindings miscellaneous operations.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>