Remove redundant alert function. Closes #27.