Latentflip custom data types

Adding this here so I can push to this branch too.