Remove formatCode() method