Make some APIs protected for sub classes