Accidentally called other library's code without including it. Whoops! (I guess that's what I get for not testing this in a clean environment...)