Updated to 1.6.0 plugin interface and added config support.