Renamed main plugin method and fixed syntax for readability.