Modularize so we don't depend on all of jsclass.