Yes, you have to return proper flags from your flags() implementation.