Fixed an issue with the Visitable mixin.