Added component spec validation