Fix warnings in 0.3.0