Fix server mode crashing

We'll need to pay more attention to which classes we allow to be common
without controlling which functions are loaded on which side.

Signed-off-by: Chris Sanders <zidane@outlook.com>