Revert "modify to relation to have its type in itself"

This reverts commit 5a33693fa1ddcadb8e59ef58e7c667e62857ecd4.