Added functions.php for convenience functions.