Move all generic reflection methods to a separate class