Fixed up reflection support, and added a native file setup, so it wouldn't complain. Don't blame me for those size variables not being constants, it's not my fault.