From explicit to implicit density functionals