Reverted a change incompatible with the current ResourceParser