Move common types into .hrl file