Issue #1404. Magic numbers were removed.