Added method ncontract in Components for multiple contractions; to replace contract soon