Replace :refer :all with explicit references
Fix formatting#