[StaticPage]: Fixed using deprecated method