Refactor Iris resource inherit