Make scala optional.