document generic objects