Turning it into a lib.