Fixed typo that broke the attach API