Miscallaneaous stuff for IDA