Specify #frame_type when code is evaluated

Fix #29