Fix for issue #152, allow method to be updated on root via definePort

Fix for issue #152, allow method to be updated on root via definePort