Further improvement of Sailsjs integration.