Avoid using statements in header files, as the object is then "used" in all files which include the header. It really sucks but you have to just fully type out "nova::rpc::ResilentSenderPtr" instead.