Few tweaks in the spring rest adapter.