Added prePerstist method to domain.Item