statically cache class config