models/: add restrictions.