CoreData enitity ported to Swift.