Take into account whitelisted functions from library