Added widget transitions and "requires" class directive.