Extracted common node implementations from 'substance-document' and 'substance-article'.