Bump version to 1.2.1. Fixed bug with registering handlers