remove DbAutoKey and pass database proxy to type description functions