Corrected the chapter and moved IsPrimary and IsPrime from attributes to properties.