bugfix: compiler errors caused by more strict type checking (meaning changes).