Why does webform module uses $node->webform as a property?
because webform is not integrated to drupal entity concept

check entity form module that is integrated with drupal entity
https://drupal.org/project/entityform