Moved some methods from Views to the static interface.