If there are no endpoint classes in the archive, one cannot really
register the endpoint programmatically. Moreover, the filter was not even
registered in this case. So cleaning it up.