this should work now, a factory referencing a class constant needed to be in a block