Moved common typedefs to utils.h