Add support for adding duplicate methods to allow hint