Added fix so that mutex methods know what their structs are.