Removed inline for easier debugging.