Simplifies plugin code