Add missing constants, methods and functions.