Fix syntax and move init calls to the driver.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>