Code cleaning Posnic library