Make tableless models work in associations.