Building and Component with define, declare and extends