Type hint the create method.