Fixed compile error from core changes.