User defined class parameter is always ignored 

When doing the params merge the "class" parameter is always overridden because of the position in the array_merge()
Merge pull request #64 from gigo6000/patch-2

User defined class parameter is always ignored