added a check to make sure not using an interface with method
overloading.