Flex helper library