Tell the alternatives of obsolete methods
Replace calls to obsolete methods in unit tests
Merge pull request #120 from linquize/warning

Replace obsolete members