As my own phpdoc says, we need flags and structure here.