Fix some non-public methods.