Support ruby 1.8, minus 1.9-dependent methods