Added ambiguity resolver that considers the declaring type of a method for a binding priority. This is mainly a measure to avoid accidental matching with the methods declared by the Object type.