Only call element prototypes if they exist.