Add opts_hash to component