When I am writing, I don't really have an intention. That is, I don't consciously make an effort to include any deeper meanings, nor do I (mostly) pre-choose a theme.
However, I find when I view my writing from an objective eye, it seems to be much better than I felt it to be whilst I was writing it.
Maybe I can pretend someone else wrote it (in fact, that IS what I do).
When someone reads it out, I pretend it is someone's else's work, and to my amazement, find that it is really good.
I think I have mentioned before, though no harm in saying again, that people seem to read deeper into what I write, and find themes and such. And I have said that I think perhaps it is my subconscious that includes these themes and deeper meanings, metaphors, etc.
Well, I actually like that. I think it is really cool, because it gives my writing so much more depth than I had intended. I can't seem to consciously write like that, though my last story did have an encoded message in the first letter of every paragraph (purposely).