Pinel 's actions took place in the context of the Enlightenment .
A number of others were also reforming asylums along humanitarian lines .
Pinel 's actions took place in the context of the Enlightenment , and a number of others were also reforming asylums along humanitarian lines .