Adds library support