Sorted out syntax tree print methods