Extension for default scala library