Added some static checks to literal