Added message types for optimizations and stuff.