Made constants configurable.