Add license check for building relationships