Waterline hook for the Sails framework.