Implemented reflection. Closes #34.