A relation between approaches to integrability in superconformal Yang-Mills theory