I tried both v3.1.5 and the latest version (v3.1.6), and readcode/writecode seem to accept both byte or word variables ok for me, so I'm not sure what you're seeing.

If you use a device with >64K...