add builtin Component#setup function that gets called with the library upon library creation