Moved constants to types.cpp