Add runtime checking for Component constructors.