API cleanup, TypeDoc