Updated convencience methods for creating nodes with case classes