Added isEqual() to Model and enhanced isValid() to also take coordinats objects.