Remove some hardcode.