Flex utility library