Remove magic number static check