Added imports to prevent compiler warnings

Added these imports:
import scala.language.postfixOps
import scala.language.implicitConversions
import scala.language.existentials