Resolves #96 by exposing getAllVariables