Added thread safety functionality to the interface. Implementation is
still pending.