Rename parameters to klass instead of class to prevent parsing issues