Refined theme support function and moved to functions.php