Load library at main function to avoid conflict.