bake bone constraints?

Is there a way to bake constraints to keyframes for armature bones?

On a related note, is baking cyclic curves in the graph editor to keyframes possible as well?