Custom type definitions for unity (right now its just bitmask :/)