Added stored procedure.