Changed argument order due to linkage errors.