Support for scala versions 2.11 and 2.10