'weak' qualifier for class members

'weak' keyword now works as expected for class members