Added spring framework support