Changed boost::any to boost::variant. Did things. As yet untested.