Fix plugin bind. Closes #1530