Limit response length

Limit the size of the response for the definition.
Added in latest commit.