fix for empty callbacks chains
fixed inheritance to work only with classes
callbacks implemented as concern