Add extension code.