Add node type dispatch and style sheet parser init