Set and Get methods added to middleware classes
Merge pull request #4 from Ignusmart/middleware

Set and Get methods added to middleware classes