Making Components Contract Aware