Updated examples to comply with more codeigniter style.