Add JS private methods patterns.