Adding compatibility to Scala 2.9.3 for wider support.

These changes are to add backward compatibility for services using scala 2.9.3