Convenience wrapper for creating custom element prototypes.