Instead of as modules. Replace *.read with read*, *.readArmored with readArmored*, etc. Replace cleartext.readArmored with readArmoredCleartextMessage. Replace message.fromText with Message.fromText, etc.