Update code from bfw-sql-alone repository with update advisable by scutinizer.