added TTL to plugin configuration. Adding meat to methods