Remove _s_register_custom_background function.
Remove /inc/custom-header.php.
Remove inc/wpcom.php and comment out post formats support.