Move recent mData changes to own configuration option to provide most backwards compatibility.

Updated all phpDoc to include parameters.