Use release as dict not class