using tuple instead of Model as keys. It helps to solve recursive import