core: No need to check if headers are sent.