Lazier loading of connection and config
Smarter argument to function parsing & passing