Added capacity to activities. Fixes #18