Added an attribute overriding function to plugins