Add missing $ on class params