RPL implementation - First version.