Shouldn't be calling client-only classes server-side.