Added additional method to interface.

Now checks if output has been spent first.

This closes #6