First stable API interface, introduce relation types