allow defining associations when generating models