Change deprecated functions on Julia 0.2