Debug assertion.
Added putDouble() method.