Fix rake tasks.