Make codebase compatible with Julia v0.3