Stub impl and compile fixes.