Implement new methods for accessing flags.