Support inheriting OneAssociation.

Inherited association classes can be use e.g. to customize effect of association set up.