scala support added.