Example of plugin alteration using hooks