Fixed packaging type.
Added KeyNotFoundException.
Added toString methods to ease debugging.