Implement simple "Javascript" Interface and an addType method to make user defined types possible