Text does not inherit from Entity
Added constructor parameters