rudimentary doctrine cache support.