a stub to emulate scala library classes in future