Make kmw* functions non-private