Right now with setConf() way, it is not possible as setConf() is called after the constructor.  Once it is changed as per above comment, we can cache it at constructor I think