Replace nodeFactory invocations with direct static access

Change-Id: I2629c5fd659bca166237cef425f7cc3aff13ba0e
Make defaultAttributes a static property as well

Change-Id: I8ee4796a93d55db9be6e43c78f3ac7bb29a65c6f
Merge changes I8ee4796a,I2629c5fd

* changes:
  Make defaultAttributes a static property as well
  Replace nodeFactory invocations with direct static access