Added docs and coverage