Simplify instrument creation code