Add missing constants and update method.