Fix API change in MPL v1.4

Closes #440