Refactoring of qualifier and specifier handling.