Set proper metadata in plugins