Added for usage from CodeIgniter