Defined signature of handler classes. Updated docs.