Fix implementation for Spring module