Started documenting API properly