Added support for custom signatures for 'visit' methods