Move reflection stuff into separate package