Magic number hacks