Remove unused $currentRelease attribute
Small code tweaks