Remove redundant method.

There is already a name() to get the name of the interface.

Refs #7874