Don't use instanceof