Added: unit events support and multiple methods.