Fix reference to interface name.
Fix for nil being passed instead of default argument.
Add simple defense mechanism for nil arguments.