Rename package and fix warnings.