improved spring configuration support