added missing docblock
simplified token reflection usage