Fixing example code.
Adding account object.