SMS dit: Processing and Producing Head-final Structures