Need to declare public $data.

Also, weird that the public vars are at the bottom :)