Get yield and blocks working for fragments