Add params class due to issue with inheritance.