typedefs at one place only