Moving code from cal.rb into month methods.