Supports implicit conversion to type now

Is not yet very threadsafe.