Made the provided server classes more flexible, removing the need to create subclasses for most cases.