Add example of the <method/> syntax with a bean