Implement tags [static] and [dynamic] for equations

Closes #307