Firearm mechanics