Add anchor resources

This ensures that classes are contained properly. See https://dev.icinga.org/issues/8077.