Changed hashcode and equals - Command name and trigger must be unique.