Check for ctx in default_core_handler()