Changed type check on web element to check for interface instead of just being an interface.