Cleaning up provide syntax (why was that missing?), adding in ESS and
ESS hooks. (Hopefully, correctly.)