`AB` in isolation makes little sense (although there are minor exceptions). This `` is a common pattern which appears along with various verbs for assuming, regarding, etc.
* AB to regard A as B
* AB to consider A B
* AB to assume A is B
* AB to suppose A as B
* AB to think of A as B
* AB to mistake A as B
* AB to make a wrong assumption that A is B
* AB to define A as B
* AB to take A as B
* AB to interpret A as B
So `B` is like `as B`, and these verbs can take both and at the same time.
**EDIT:** before can be omitted in many cases. (without ) and **** are equally correct. For details, see Difference between vs before and grammatical and semantic difference of "" and ""