Update for julia 0.4 deprecations