Compatibility changes for Julia 0.4