XML callback definition needs to define an array to work

If it's not an array, it won't be considered a callable.