Added `parse` method to malt.py, fixes #682