Added copyright notice
Added support for dict access
Added meaningful errors
You can also use your local clone with git send-email.