Changed $data back to private and created a public function get_content_data() instead.