Integrate some library functions