Tidy Up plugin.php