Fixed calling after_setup_theme method.