Convert to module
Retrieve plugin instance in constructor