Adding as: flag to constraints