Add method to retrieve an instance's params.