Use constants for deployment annotations

Fix some places where constants weren't in use for annotation lookups.