update docs : add missing use statement and common method placing