Added version attribute to units api resource