Fix compiler warnings introduced by #39.