Changed id to instancetype.