Added simple method changing for class instances