Oops, enum wasn't vsible.