removing isStatic constructor argument for text classes