Collapse annotation resource and model

Close #1041