Feature/get enum types

Features on this branch finished, please review.
I do not know. Will remove it in the next push. Unless it is a trick question? :)