Add Spring context support