Got reflection mostly working