Interface for results. Class Promise. Type annotated more things