Implementation of instrument as piece attribute. Solve part of #46