Relying on reflection to get the definition looks like a hack