Add instancetype returns to various static constructors.