Fix rake tasks for initialization.