Various doc & formatting fixes in API classes