Added defaultValue. Updated docs. Updated tests.