Squashed commit of the following:

commit 72835a08dc6a4d15bb654ba7680b8d171a0a7baa
Author: myst1cal <myst1cal@yandex.ru>
Date:   Fri Nov 22 03:49:40 2013 +0200

Signed-off-by: myst1cal <myst1cal@yandex.ru>