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()