Simplify initialization of plugin by using singleton