Add error for inheritance cycles in actors.