Switching to using interfaces
Fixed a mistake in my bindings.