add possiblity to instantiate configuration from hash in configure block where needed