Can now extract component declaration