docs should always return as an array