remove var declarations from package