Add detailed mnesia control and distribution support.