Upgraded the version of the capsule dependency from 0.4.2 to 0.5.0