Utilities for mazurka ast manipulation