Remove redundant extern declarations