Fix deadlock
Implement loading prototypes from components data