Conformed to CodeIgniter's coding style