Fix warnings and bump up version to v0.6