Fixed the "arbitrary" library fucntion of Cobra.