Modified composite to contain magic number checks.