General frontend settings and hooks