Since it's \frac{dA}{d\theta} which means it's differentiating A with respect to \theta. Think of it as \frac{dy}{dx} where y=A and x=\theta. Thus, in this case it is treated as if it were a variable.
As for \pi we all know it's a constant so.
e.g. \frac{d(\pi(x))}{dx}=\pi