Use metadata instead of code to define a bundletype