Added package arg to C-level functions.