Fixed object serialization exceptions.

Also added autocomplete for 'beaker' in Groovy