scala extend library