introduction of collision types enum for less usage of Std.is()