Relationships and better error checking.