Merge pull request #232 from csmith/master

Remove StyledDocument stuff from styliser.
Remove deprecated method.