Try to be backward compatible with Julia 0.3