Add gen_melody, half_prime_form support. Other T&I.