Removed unused functions from functions.php