Closes #9

AllowedFunctions should use suitable flags values