Refactors code, allows for detection via links and for dynamic documents