Adds hasLayout to .block