Added conversion method.