Check appropriate attributes are set.