Only use prepended methods if ruby >= 2.0