remove code property as we already have a method for it and allow type to either Human or Machine code