Remove reflection

This removes a little bit of reflection and fixes #19.