Change component hashcode to get them properly
Change signature of removeComponent method