Passes core tests

Needed to export getfield