Updated FromJSObject template def