Trim out the waitFor method because it's not a complete implementation