Added MethodSynchonization, isMethodShared and isTypeShared templates.