Useful utils for Kohana-based apps