Add functions to a type on the fly


Is it possible to define a function on a Type on the fly? this will be very handy for debugging
i.e. from the browser console without having to add the signature in the Type.c3typ file and then write the implementation in the Type.js file then provisioning.