Improve the Pascal.Convert module

fixes #1