Change function to comply with the NDN coding style