Drop items function now compiles completely.