Dynamically set parameters with Abstract class.