Set protected methods.