Added server and client side hooks for settings.