Adds return type annotations to all class methods.