fixing more doc blocks to have correct import paths for type declarations and to use sphinx-style notation