Replaces the
id
method return type with the instance type of a class.