Adding functionality to execute ROOT functions.