Removed old locallib functions