Okay, so it wasn't quite as easy as that. But I think script-friendly property-methods work now.