Prepare to paper presence handling

Signed-off-by: Alexey Galakhov <agalakhov@gmail.com>