Add wrapper class for native js classes.