Make relation classes final.