Moved foreign to assertions, actually where it belongs to