Implement scripted conversion for CRT functions (close gh-8).