Make detect methods static
Update docs