Spectator effects in inclusive decays of beauty hadrons