Fix Spring support

Not sure how this slipped the last time.