Implemented flags and types.