CodeIgniter improvements