Add separate semaphore package.