Made Dict syntax compatible to 0.4

Note that on line 144 I had to pull out the definition of options, as the @compat syntax does not work as an argument in a function call.