Add type hints to ensure the correct object is passed from send(), and cater for calling the __getLast* methods before a request has sent by returning null.