Fixed namespace issue with rake tasks