Use reflection
Remove support ST2 on some versions