Class add method strange behavior (see that later)