Add in NotAuthorizedException.
Add in BadRequest Exception.
Smarter pivot flat.
getArrayableAttributes includes mutated attribtue.