move the cast from the :fn-method node to its body