Spring support (fixes #40)