Rake task improvements.