remove extra public declarations