Added missing convert() method body