Get rid of some :w-style macros
Figure/table/equation references now work

Removed protection from the counters by using \cs_set:Npn instead of
\DeclareDocumentCommand.