Move wait to correct namespace